package o;

import android.content.Context;

public abstract class cfh implements cez {
    protected static final String TAG = "ExportComponentChecker";
    protected Context context;
    protected cex taskListener;

    public abstract void doCheck();

    public void checkSuccess() {
        Logger.ˎ(TAG, "check success:" + getName());
        if (this.taskListener != null) {
            this.taskListener.ˋ();
        }
    }

    public void checkFailed() {
        Logger.ˎ(TAG, "check failed:" + getName());
        if (this.taskListener != null) {
            this.taskListener.ॱ();
        }
    }

    public void run(cex o_cex) {
        this.taskListener = o_cex;
        doCheck();
    }
}
